<i-button href="javascript:void(0);"  data-options="iconCls:'eova-icon723',plain:true" onclick="singleDetail()" type="info">${button.name!'查看'}</i-button>
<script type="text/javascript">
    var singleDetail = function () {
    	var $grid = $('#grid');
        if (isSelected($grid)) {
	        var row = $.getWidgetSelected($grid);
            loadDialog($grid, '${object.name} ${I18N('详情')}', '/form/detail/${object.code}-' + row.pk_val, ${menu.config.params.width!'945'}, ${menu.config.params.height!'600'});
        }
    };
</script>